package com.mapper;

import com.pojo.Siteroute;
import com.vo.SiterouteVo;

import java.util.List;

public interface SiterouteMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Siteroute record);

    int insertSelective(Siteroute record);

    Siteroute selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Siteroute record);

    int updateByPrimaryKey(Siteroute record);

    public List<Siteroute> selectAllSiterout(SiterouteVo siterouteVo);
    public List<Siteroute> selectAllSiterout2(Integer id);


    public String selectroutenamebyid(Integer id);

    //删除路线查看是否正在使用
    public Integer selectroutestatebyid(Integer id);
}